<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form method="post" action="servlet5">
    <input type="text" name="username">
    <br>
    <input type="password" name="userPwd">
    <br>
    <input type="checkbox" name="hobby" value="1">篮球
    <input type="checkbox" name="hobby" value="2">足球
    <input type="checkbox" name="hobby" value="3">排球
    <input type="checkbox" name="hobby" value="4">乒乓球
    <input type="checkbox" name="hobby" value="5">台球
    <br>
    <input type="submit">


</form>

</body>
</html>